<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxDefaultErrorCallback Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxDefaultErrorCallback.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classPxDefaultErrorCallback-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxDefaultErrorCallback Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>default implementation of the error callback  
 <a href="classPxDefaultErrorCallback.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxDefaultErrorCallback_8h_source.html">PxDefaultErrorCallback.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for PxDefaultErrorCallback:</div>
<div class="dyncontent">
<div class="center"><img src="classPxDefaultErrorCallback__inherit__graph.png" border="0" usemap="#PxDefaultErrorCallback_inherit__map" alt="Inheritance graph"/></div>
<map name="PxDefaultErrorCallback_inherit__map" id="PxDefaultErrorCallback_inherit__map">
<area shape="rect" id="node2" href="classPxErrorCallback.html" title="User defined interface class. Used by the library to emit debug information. " alt="" coords="25,5,141,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for PxDefaultErrorCallback:</div>
<div class="dyncontent">
<div class="center"><img src="classPxDefaultErrorCallback__coll__graph.png" border="0" usemap="#PxDefaultErrorCallback_coll__map" alt="Collaboration graph"/></div>
<map name="PxDefaultErrorCallback_coll__map" id="PxDefaultErrorCallback_coll__map">
<area shape="rect" id="node2" href="classPxErrorCallback.html" title="User defined interface class. Used by the library to emit debug information. " alt="" coords="25,5,141,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acbbaca1f9ad004bf4a08580e2013310f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxDefaultErrorCallback.html#acbbaca1f9ad004bf4a08580e2013310f">PxDefaultErrorCallback</a> ()</td></tr>
<tr class="separator:acbbaca1f9ad004bf4a08580e2013310f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a043fb3640787a29f382784bfdd3ea047"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxDefaultErrorCallback.html#a043fb3640787a29f382784bfdd3ea047">~PxDefaultErrorCallback</a> ()</td></tr>
<tr class="separator:a043fb3640787a29f382784bfdd3ea047"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46666dbca0239301d0dab449ce31b235"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxDefaultErrorCallback.html#a46666dbca0239301d0dab449ce31b235">reportError</a> (<a class="el" href="structPxErrorCode.html#a01157d5d2eca2cede61ecbbc32c7b2a3">PxErrorCode::Enum</a> code, const char *message, const char *file, int line)</td></tr>
<tr class="memdesc:a46666dbca0239301d0dab449ce31b235"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports an error code.  <a href="#a46666dbca0239301d0dab449ce31b235">More...</a><br /></td></tr>
<tr class="separator:a46666dbca0239301d0dab449ce31b235"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classPxErrorCallback"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classPxErrorCallback')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classPxErrorCallback.html">PxErrorCallback</a></td></tr>
<tr class="memitem:a7ea6b20bbea19c63f058e5acc6c86e68 inherit pub_methods_classPxErrorCallback"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxErrorCallback.html#a7ea6b20bbea19c63f058e5acc6c86e68">~PxErrorCallback</a> ()</td></tr>
<tr class="separator:a7ea6b20bbea19c63f058e5acc6c86e68 inherit pub_methods_classPxErrorCallback"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>default implementation of the error callback </p>
<p>This class is provided in order to enable the SDK to be started with the minimum of user code. Typically an application will use its own error callback, and log the error to file or otherwise make it visible. Warnings and error messages from the SDK are usually indicative that changes are required in order for PhysX to function correctly, and should not be ignored. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="acbbaca1f9ad004bf4a08580e2013310f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbbaca1f9ad004bf4a08580e2013310f">&#9670;&nbsp;</a></span>PxDefaultErrorCallback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PxDefaultErrorCallback::PxDefaultErrorCallback </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a043fb3640787a29f382784bfdd3ea047"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a043fb3640787a29f382784bfdd3ea047">&#9670;&nbsp;</a></span>~PxDefaultErrorCallback()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PxDefaultErrorCallback::~PxDefaultErrorCallback </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a46666dbca0239301d0dab449ce31b235"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46666dbca0239301d0dab449ce31b235">&#9670;&nbsp;</a></span>reportError()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void PxDefaultErrorCallback::reportError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structPxErrorCode.html#a01157d5d2eca2cede61ecbbc32c7b2a3">PxErrorCode::Enum</a>&#160;</td>
          <td class="paramname"><em>code</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>line</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reports an error code. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>Error code, see <a class="el" href="structPxErrorCode.html" title="Error codes. ">PxErrorCode</a> </td></tr>
    <tr><td class="paramname">message</td><td>Message to display. </td></tr>
    <tr><td class="paramname">file</td><td>File error occured in. </td></tr>
    <tr><td class="paramname">line</td><td>Line number error occured on. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classPxErrorCallback.html#a1e8a210106631f07bdd3bb79be9129c0">PxErrorCallback</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxDefaultErrorCallback_8h_source.html">PxDefaultErrorCallback.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxDefaultErrorCallback.html">PxDefaultErrorCallback</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
